class LuoStorage {
  private storage: Storage;
  constructor() {
    this.storage = window.localStorage;
  }
  getValue(key: string) {
    return this.storage[key];
  }
  setValue(key: string, value: any) {
    return (this.storage[key] = value);
  }
}

const store = new LuoStorage();
export default store;
